package com.xja.zf.mapper;

import com.xja.zf.entity.Users;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface UsersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(Integer id);

    Users selectByName(String name);


    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

    //  <!--注册时，查询用户是否已经存在-->
    Users selectUserExist(String loginName);
}